﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/TractRecord.Master" AutoEventWireup="true" CodeBehind="Roles.aspx.cs" Inherits="TractRecord.Administration.Roles" %>

<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="MainContent">
            <div style="padding-bottom: 10px;"><a href="#" name="btnAdd" class="button">Add New Role</a>
        <a href="#" name="btnUpdate" class="button">Add User to Role</a>
        </div>
          <table id="list2"></table>
        <div id="pager2"></div>


        <div id="dialog-newrole" class="dialog" title="Create New Role">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td><label for="name">Role Name:</label></td>
                <td><input type="text" name="name" id="new-role" class="text ui-widget-content ui-corner-all" style="width:100%"/></td>
            </tr>
        </table>
        <div class="error-container">
            <p class="error"></p>
        </div>
        </div>

        <div id="dialog-addtorole" class="dialog" title="Add User To Role">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td><label for="roles">Role Name:</label></td>
                <td><select id="roles" name="roles" class="text ui-widget-content ui-corner-all" style="width:100%">
                    </select></td>
            </tr>
            <tr>
                <td><label for="users">Users:</label></td>
                <td><select id="users" name="users" class="text ui-widget-content ui-corner-all" style="width:100%">
                    </select></td>
            </tr>
        </table>
        <div class="error-container">
            <p class="error"></p>
        </div>
        </div>


        <div id="dialog-removeuser" class="dialog" title="Remove User From Role">
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td><label for="usersinrole">Users In Role:</label></td>
                <td><select id="usersinrole" name="usersinrole" class="text ui-widget-content ui-corner-all" style="width:100%">
                    </select></td>
            </tr>
        </table>
        <div class="error-container">
            <p class="error"></p>
        </div>
        </div>

</asp:Content>


